import {request} from "./request";

/**
 * 轮播图数据
 */
export function getHomeSwiper(){
  return request({
    url: '/home/multidata',
    methods: 'get'
  });
};

/**
 * 获取商品数据
 */
export function getHomeData(type,page) {
  return request({
    url: '/home/data',
    methods: 'get',
    params: {
      type: type,
      page: page
    }
  });
};
